using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class RomancePanel : BaseUIForm
{
    private void Awake()
    {
        base.CurrentUIType.UIForms_Type = UIFormType.Normal;
        base.CurrentUIType.UIForms_ShowMode = UIFormShowMode.Normal;
        base.CurrentUIType.UIForms_LucencyType = UIFormLucencyType.Lucency;

        RegisterButtonObjectEvent("Button-Military", p =>
        {
            OpenUIForm("MilitaryPanel");
            CloseUIForm();
        });
        RegisterButtonObjectEvent("Button-Romance",LogonSys);
        RegisterButtonObjectEvent("Button-Governance", p =>
        {
            CloseUIForm();
            OpenUIForm("GovernancePanel");
        });
        RegisterButtonObjectEvent("Button-forceLine",LogonSys);
        
        RegisterButtonObjectEvent("Quit", p =>
        {
            CloseUIForm("CanvasStatic");
            CloseUIForm();
            OpenUIForm("CanvasMain");
        });
    }

    
}
